12. Reading and Writing Data to HDFS
Spark L3 SC 12 Reading And Writing Data To HDFS
What are the file types that are supported in HDFS?
SOLUTION:
- Avro files
- Parquet files
Commands for HDFS
SOLUTION:
- `hadoop fs mkdir`: makes a directory
- `hdfs dfs -copyToLocal` : copies files to local (like your laptop)